/////////////////////////////////////////////////////////////////////////////
// Name:        TestMainFrame.h
// Purpose:     
// Author:      Aleksey Plotnikov
// Modified by: 
// Created:     22/02/2011 13:31:14
// RCS-ID:      
// Copyright:   Diamant Group
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _TESTMAINFRAME_H_
#define _TESTMAINFRAME_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/frame.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class TestGrid;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_TESTMAINFRAME 10000
#define ID_START 10002
#define SYMBOL_TESTMAINFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_TESTMAINFRAME_TITLE _("DGT Tests")
#define SYMBOL_TESTMAINFRAME_IDNAME ID_TESTMAINFRAME
#define SYMBOL_TESTMAINFRAME_SIZE wxSize(412, 600)
#define SYMBOL_TESTMAINFRAME_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * TestMainFrame class declaration
 */

class TestMainFrame: public wxFrame
{    
    DECLARE_CLASS( TestMainFrame )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    TestMainFrame();
    TestMainFrame( wxWindow* parent, wxWindowID id = SYMBOL_TESTMAINFRAME_IDNAME, const wxString& caption = SYMBOL_TESTMAINFRAME_TITLE, const wxPoint& pos = SYMBOL_TESTMAINFRAME_POSITION, const wxSize& size = SYMBOL_TESTMAINFRAME_SIZE, long style = SYMBOL_TESTMAINFRAME_STYLE );

    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_TESTMAINFRAME_IDNAME, const wxString& caption = SYMBOL_TESTMAINFRAME_TITLE, const wxPoint& pos = SYMBOL_TESTMAINFRAME_POSITION, const wxSize& size = SYMBOL_TESTMAINFRAME_SIZE, long style = SYMBOL_TESTMAINFRAME_STYLE );

    /// Destructor
    ~TestMainFrame();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin TestMainFrame event handler declarations

////@end TestMainFrame event handler declarations

////@begin TestMainFrame member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end TestMainFrame member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin TestMainFrame member variables
    TestGrid* m_TestGrid;
////@end TestMainFrame member variables
};

#endif
    // _TESTMAINFRAME_H_
